package com.zut.service;

import com.zut.entity.PageResult;
import com.zut.entity.QueryPageBean;
import com.zut.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author sq
 * @create 2021-06-29-17:33
 */
public interface SetmealService {
    //新增套餐
    public void add(Setmeal setmeal, Integer[] checkgroupIds);

    //套餐分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);

    //查询套餐列表数据
    public List<Setmeal> getAllSetmeal();

    //根据套餐ID查询套餐详情
    public Setmeal findById(int id);

    //查询套餐数量
    public List<Map<String, Object>> findSetmealCount();
}
